<br />
<div id="fb-root"></div>
<script>(function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id))
            return;
        js = d.createElement(s);
        js.id = id;
        js.src = "//connect.facebook.net/vi_VN/sdk.js#xfbml=1&version=v2.0";
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-like-box" data-href="https://www.facebook.com/Phukienbongdahn" data-width="314" data-colorscheme="light" data-show-faces="true" data-header="true" data-stream="false" data-show-border="true"></div>
<div class="menu-trai-2">
    <div class="t-menu t-menu-2"><?php echo $heading_title; ?></div>
    <div class="mn-trai-2">
        <ul>
            <?php if(count($products) < 4){$length = count($products);}else {$length = 4;}
            for ($i = 0; $i < $length;$i++) { $product = $products[$i]?>
            <li class="li-mn-2">
                <a href="<?php echo $product['href']; ?>" class="a-mn-2">
                    <div class="product-logo">
                        <img src="<?php echo $product['thumb']?>" class="img-product" />
                    </div>
                    <div class="product-content">
                        <span class="title"><?php echo $product['name']; ?></span>
                        <?php if (!$product['special']) { ?>
                        <?php echo $product['price']; ?>
                        <?php } else { ?>
                        <span class="gach"><?php echo $product['price']; ?></span> <span class="gia"><?php echo $product['special']; ?></span>
                        <?php } ?>
                        <span class="giam-gia">-10%</span>
                    </div>
                    <hr class="hr-mn" />
                </a>
            </li>
            <?php } ?>
        </ul>
    </div>
</div>
